<template>
  <div class="child">child</div>
</template>

<script setup>
import { onUnmounted } from 'vue'

onUnmounted(() => {
  console.log('卸载child')
})
</script>

<style lang="scss" scoped></style>
